let { Schema, model } = require("mongoose");
let { registlModel } = require("../models/registlModel")

let registSchema = new Schema({
    phone: String,
    name: String,
    gender: String,
    avatar: String, // 头像
    password: String
})
let registlModel = model("registlModel", registSchema, "regist")

module.exports = { registlModel }